#!/usr/bin/env node

const log = console.log,
      chalk = require('chalk'),
      circle = require('./03-export-function.js');

try{
  var c = circle(20);

  log(chalk.greenBright(`area:         \t${c.area()}`));
  log(chalk.greenBright(`circumference:\t${c.circumference()}`));

  log(module);
}catch(e){
    console.error('something wrong!');
  }

